package com.mc.fil.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 病虫害 除草情况对象 fil_diseases_insect_pests
 *
 * @author mc
 * @date 2021-04-15
 */
public class FilDiseasesInsectPests extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 防治类别 */
    @Excel(name = "防治类别")
    private String category;

    /** 病虫害情况 */
    @Excel(name = "病虫害情况")
    private String type;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date happenDate;

    /** 方式 */
    @Excel(name = "方式")
    private String weedType;

    /** 描述 */
    @Excel(name = "描述")
    private String weedDesc;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String pesticideName;

    /** 防治对象 */
    @Excel(name = "防治对象")
    private String controlObject;

    /** 施用时期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "施用时期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useData;

    /** 施用面积 */
    @Excel(name = "施用面积")
    private Long useArea;

    /** 施用剂量 */
    @Excel(name = "施用剂量")
    private String useDose;

    /** 施用方法 */
    @Excel(name = "施用方法")
    private String useMethod;

    /** 效果 */
    @Excel(name = "效果")
    private String effect;

    /** 效果追踪 */
    @Excel(name = "效果追踪")
    private String effectTracking;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private String isComplete;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String completeDate;

    /** 对植株影响程度 */
    @Excel(name = "对植株影响程度")
    private String infiuenceDegree;

    /** 影响部位 */
    @Excel(name = "影响部位")
    private String infiuencePart;

    /** 执行人编号 */
    @Excel(name = "执行人编号")
    private String workUserId;

    /** $column.columnComment */
    @Excel(name = "执行人编号")
    private String filId;

    public String getControlObject() {
        return controlObject;
    }

    public void setControlObject(String controlObject) {
        this.controlObject = controlObject;
    }

    private List<FilMultimedia> photos;

    public List<FilMultimedia> getPhotos() {
        return photos;
    }

    public void setPhotos(List<FilMultimedia> photos) {
        this.photos = photos;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setUpdatedBy(String updatedBy)
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy()
    {
        return updatedBy;
    }
    public void setCategory(String category)
    {
        this.category = category;
    }

    public String getCategory()
    {
        return category;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setHappenDate(Date happenDate)
    {
        this.happenDate = happenDate;
    }

    public Date getHappenDate()
    {
        return happenDate;
    }
    public void setWeedType(String weedType)
    {
        this.weedType = weedType;
    }

    public String getWeedType()
    {
        return weedType;
    }
    public void setWeedDesc(String weedDesc)
    {
        this.weedDesc = weedDesc;
    }

    public String getWeedDesc()
    {
        return weedDesc;
    }
    public void setPesticideName(String pesticideName)
    {
        this.pesticideName = pesticideName;
    }

    public String getPesticideName()
    {
        return pesticideName;
    }
    public void setUseData(Date useData)
    {
        this.useData = useData;
    }

    public Date getUseData()
    {
        return useData;
    }
    public void setUseArea(Long useArea)
    {
        this.useArea = useArea;
    }

    public Long getUseArea()
    {
        return useArea;
    }
    public void setUseDose(String useDose)
    {
        this.useDose = useDose;
    }

    public String getUseDose()
    {
        return useDose;
    }
    public void setUseMethod(String useMethod)
    {
        this.useMethod = useMethod;
    }

    public String getUseMethod()
    {
        return useMethod;
    }
    public void setEffect(String effect)
    {
        this.effect = effect;
    }

    public String getEffect()
    {
        return effect;
    }
    public void setEffectTracking(String effectTracking)
    {
        this.effectTracking = effectTracking;
    }

    public String getEffectTracking()
    {
        return effectTracking;
    }
    public void setIsComplete(String isComplete)
    {
        this.isComplete = isComplete;
    }

    public String getIsComplete()
    {
        return isComplete;
    }
    public void setInfiuenceDegree(String infiuenceDegree)
    {
        this.infiuenceDegree = infiuenceDegree;
    }

    public String getInfiuenceDegree()
    {
        return infiuenceDegree;
    }
    public void setInfiuencePart(String infiuencePart)
    {
        this.infiuencePart = infiuencePart;
    }

    public String getInfiuencePart()
    {
        return infiuencePart;
    }
    public void setWorkUserId(String workUserId)
    {
        this.workUserId = workUserId;
    }

    public String getWorkUserId()
    {
        return workUserId;
    }
    public void setFilId(String filId)
    {
        this.filId = filId;
    }

    public String getFilId()
    {
        return filId;
    }

    public String getCompleteDate() {
        return completeDate;
    }

    public void setCompleteDate(String completeDate) {
        this.completeDate = completeDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createUserId", getCreateUserId())
                .append("createTime", getCreateTime())
                .append("updatedBy", getUpdatedBy())
                .append("category", getCategory())
                .append("type", getType())
                .append("happenDate", getHappenDate())
                .append("weedType", getWeedType())
                .append("weedDesc", getWeedDesc())
                .append("pesticideName", getPesticideName())
                .append("useData", getUseData())
                .append("useArea", getUseArea())
                .append("useDose", getUseDose())
                .append("useMethod", getUseMethod())
                .append("effect", getEffect())
                .append("remark", getRemark())
                .append("effectTracking", getEffectTracking())
                .append("isComplete", getIsComplete())
                .append("infiuenceDegree", getInfiuenceDegree())
                .append("infiuencePart", getInfiuencePart())
                .append("workUserId", getWorkUserId())
                .append("filId", getFilId())
                .append("photos", getPhotos())
                .append("controlObject", getControlObject())
                .append("completeDate", getCompleteDate())
                .toString();
    }
}